package ltpscheduling;

import process.Job;
import process.Machine;
import java.util.ArrayList;
import geneticprogramming.Node;
import geneticprogramming.Tree;
import geneticprogramming.Population;

public class LtpScheduler {

	
	private int currentTime=0;
	
	
	public ArrayList<Integer> jobList(Job job){
		
		ArrayList<Integer> jobAvailableList = new ArrayList<>();
		
		if(job.getStageFinished() != 1 || job.getReadyTime()<currentTime){
			jobAvailableList.add(job.getJobNumber());
		}
		
	return jobAvailableList;
	}	
}
